<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <body>

        <ui:composition template="./templates/masterLayout.xhtml">
            <ui:define name="content">
                <div class="body">

                    <div class="left">

                        <h:form>
                            <h1><h:outputText value="List"/></h1>
                            <h:dataTable value="#{productManagedBean.listPro}" var="item">
                                <h:column>
                                    <f:facet name="header">
                                        <h:outputText value="ProductID"/>
                                    </f:facet>
                                    <h:outputText value="#{item.productID}"/>
                                </h:column>
                                <h:column>
                                    <f:facet name="header">
                                        <h:outputText value="ProductName"/>
                                    </f:facet>
                                    <h:outputText value="#{item.productName}"/>
                                </h:column>
                                <h:column>
                                    <f:facet name="header">
                                        <h:outputText value="Quantity" />
                                    </f:facet>
                                    <h:outputText value="#{item.quantity}" style="width:60px; height: 15px" />
                                </h:column>
                            </h:dataTable>
                        </h:form>
                        <div class="clr"></div>

                    </div>

                    <div class="right">
                        <h2>Customer information</h2>
                        <p>&nbsp;</p>
                        <div class="clr"></div>
                        <div id="contactform1">
                            <ol>
                                <li>
                                    <label style="width: 60px">#{msg['register.firstname']}</label>
                                    <h:inputText style="width: 200px" styleClass="text" value="dung vt"/>

                                </li>
                                <li>
                                    <label style="width: 60px">#{msg['register.lastname']}</label>
                                    <h:inputText style="width: 200px" styleClass="text" value="dung vt" disabled="true" />


                                </li>
                                <li>
                                    <label style="width: 60px">#{msg['register.email']}</label>
                                    <h:inputText style="width: 200px" styleClass="text" value="dung vt"/>
                                </li>
                                <li>
                                    <label style="width: 60px">#{msg['register.phonenumber']}</label>
                                    <h:inputText style="width: 200px" styleClass="text" value="dung vt"/>
                                </li>
                            </ol>
                            <p>&nbsp;</p>


                            <div class="clr"></div>
                        </div>

                    </div>
                    <div class="clr"></div>
                </div>
            </ui:define>
        </ui:composition>

    </body>
</html>
